package com.ruiysoft.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruiysoft.crm.model.dto.BizBookingClientDTO;
import com.ruiysoft.crm.model.entity.BizBookingClient;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * @author fanyl
 */
public interface BizBookingClientService extends IService<BizBookingClient> {

    Object addBookingByClientId(int client, LocalDateTime bookingTime, int userId);

    Object changeStatusById(String id);

    Object getUnReadList(int userId);

    IPage<BizBookingClientDTO> queryBookingInfo(IPage page, Map<String, Object> params);

    Object getBookingCountByDate(LocalDateTime date, String type, int userId);
}
